package com.android.geotrack;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

/***
*
* Main class - Container.java
*/
public class Container extends TabActivity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		TabHost host = getTabHost();
		host.addTab(host.newTabSpec("Location").setIndicator("Location").setContent(new Intent(this, Tab1Activity.class)));
		host.addTab(host.newTabSpec("Top Tracks").setIndicator("Top Tracks").setContent(new Intent(this, Tab2Activity.class)));
		host.addTab(host.newTabSpec("Local Events").setIndicator("Local Events").setContent(new Intent(this, Tab3Activity.class)));

	}
}
